﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.DungeonSchema

    Public Class dungeon

        Private intID As Integer
        Private strKey As String
        Private strName As String
        Private intRelease As Integer
        Private bBoss As New List(Of boss)

        <XmlAttribute()> Public Property id() As Integer
            Get
                Return intID
            End Get
            Set(ByVal value As Integer)
                intID = value
            End Set
        End Property

        <XmlAttribute()> Public Property key() As String
            Get
                Return strKey
            End Get
            Set(ByVal value As String)
                strKey = value
            End Set
        End Property

        <XmlAttribute()> Public Property name() As String
            Get
                Return strName
            End Get
            Set(ByVal value As String)
                strName = value
            End Set
        End Property

        <XmlAttribute()> Public Property release() As Integer
            Get
                Return intRelease
            End Get
            Set(ByVal value As Integer)
                intRelease = value
            End Set
        End Property

        <XmlElement()> Public Property boss() As List(Of boss)
            Get
                Return bBoss
            End Get
            Set(ByVal value As List(Of boss))
                bBoss = value
            End Set
        End Property

    End Class

End Namespace